﻿<Window x:Class="University.Workshop.ClientApp.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="578" Width="611" Background="#FF34344B" Loaded="Window_Loaded">
    <Grid Height="529">
        <Rectangle Height="155" HorizontalAlignment="Left" Margin="380,12,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="198" Fill="#FF343030" />
        <Button Content="Browse..." Height="30" HorizontalAlignment="Left" Margin="380,162,0,0" Name="button1" VerticalAlignment="Top" Width="72" Click="button1_Click" IsEnabled="False" Visibility="Hidden" />
        <Image Height="110" HorizontalAlignment="Left" Margin="407,35,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="148" Source="/University.Workshop.ClientApp;component/Images/Pokracho.png" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="18,25,0,0" Name="user" VerticalAlignment="Top" Width="321" TextChanged="user_TextChanged" Foreground="White" MaxLength="20" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="18,122,0,0" Name="mail" VerticalAlignment="Top" Width="321" TextChanged="mail_TextChanged" Foreground="White" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="16,208,0,0" Name="password" VerticalAlignment="Top" Width="321" PasswordChanged="password_PasswordChanged" MaxLength="39" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="16,0,0,203" Name="retype" VerticalAlignment="Bottom" Width="321" PasswordChanged="retype_PasswordChanged" MaxLength="39" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="12,392,0,0" Name="question" VerticalAlignment="Top" Width="321">
            <ComboBoxItem Content="Who was your best chilhood friend?" />
            <ComboBoxItem Content="What is your favorite soccer team?" />
            <ComboBoxItem Content="who is your favorite uncle?" />
        </ComboBox>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="12,454,0,0" Name="answer" VerticalAlignment="Top" Width="321" TextChanged="answer_TextChanged" Foreground="White" MaxLength="100" />
        <Label Content="User name" Height="28" HorizontalAlignment="Left" Margin="18,0,0,0" Name="label1" VerticalAlignment="Top" Foreground="#FFF8F2F2" />
        <Label Content="Password" Foreground="#FFF8F2F2" Height="28" HorizontalAlignment="Left" Margin="16,181,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Retype Password" Foreground="#FFF8F2F2" Height="28" HorizontalAlignment="Left" Margin="18,269,0,0" Name="label3" VerticalAlignment="Top" />
        <Label Content="E-mail" Foreground="#FFF8F2F2" Height="28" HorizontalAlignment="Left" Margin="20,88,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="Question" Foreground="#FFF8F2F2" Height="28" HorizontalAlignment="Left" Margin="12,366,0,0" Name="label5" VerticalAlignment="Top" />
        <Label Content="Answer" Foreground="#FFF8F2F2" Height="28" HorizontalAlignment="Left" Margin="18,420,0,0" Name="label6" VerticalAlignment="Top" />
        <Button Content="Register" Height="71" HorizontalAlignment="Left" Margin="385,443,0,0" Name="register" VerticalAlignment="Top" Width="150" Click="button2_Click" IsEnabled="False" />
        <Label Content="The password don't match" Height="28" HorizontalAlignment="Right" Margin="0,332,256,0" Name="label7" VerticalAlignment="Top" Width="315" Visibility="Hidden" Foreground="Yellow">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="the password is not secure" Height="28" HorizontalAlignment="Left" Margin="18,241,0,0" Name="label8" VerticalAlignment="Top" Width="321" Visibility="Hidden" Foreground="Yellow">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="invalid E-Mail" Height="28" HorizontalAlignment="Left" Margin="18,151,0,0" Name="label9" VerticalAlignment="Top" Width="315" Visibility="Hidden" Foreground="Yellow">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="The field can not contain spaces" Height="28" HorizontalAlignment="Left" Margin="20,54,0,0" Name="label10" VerticalAlignment="Top" Width="317" Visibility="Hidden" Foreground="Yellow">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="The field cant not be empty" Height="28" HorizontalAlignment="Left" Margin="20,489,0,0" Name="label11" VerticalAlignment="Top" Width="313" Visibility="Hidden" Foreground="Yellow">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Button Content="Delete" Height="30" HorizontalAlignment="Left" Margin="483,162,0,0" Name="button3" VerticalAlignment="Top" Width="72" Click="button3_Click" IsEnabled="False" Visibility="Hidden" />
        <Label Content="-username length must be" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,229,0,0" Name="label13" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="greater than 5" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,254,0,0" Name="label14" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="Rules:" Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="366,203,0,0" Name="label12" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="-username can not" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,285,0,0" Name="label15" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="contains space" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,303,0,0" Name="label16" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="-password length must be" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,326,0,0" Name="label17" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="greater than 5" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,351,0,0" Name="label18" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="-password must have" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,377,0,0" Name="label19" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
        <Label Content="numbers" Foreground="Yellow" Height="28" HorizontalAlignment="Left" Margin="383,402,0,0" Name="label20" VerticalAlignment="Top" Visibility="Visible" Width="321">
            <Label.Background>
                <SolidColorBrush />
            </Label.Background>
        </Label>
    </Grid>
</Window>
